home *** CD-ROM | disk | FTP | other *** search
/ MacAdvocate 2 / MACADVCT.ISO / mac / Goodies / Fun Stuff / Utilities / PrinterSwitch 1.2 / Extras / Scripting Extensions / UsePrinter Documentation < prev   
Text File  |  1997-03-05  |  2KB  |  66 lines

  1. ╥Use Printer╙ Scripting Extension 1.2
  2.  
  3.  
  4. The ╥Use Printer╙ Scripting Extension lets you switch between different printers on your Macintosh via AppleScript. It is based on technology from PrinterSwitch 1.2 by Brookline Software, and requires PrinterSwitch 1.2 for proper operation.
  5.  
  6. Instructions
  7.  
  8. First, copy the Use Printer file to the Scripting Additions folder, inside the Extensions folder.
  9.  
  10. Next, install PrinterSwitch 1.2 on your Macintosh. Follow the instructions in the PrinterSwitch documentation to set up PrinterSwitch and have it ╥learn╙ your printers. 
  11.  
  12. Next, Open your Preferences folder and find the ╥PrinterSwitch Printers╙ folder. This folder contains files for each of the printers that PrinterSwitch has ╥learned╙. The file names correspond to your printer names, but you may rename the files to anything you like.
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. Next, launch your favorite AppleScript Script editor and write a script to switch between printers.
  38. The syntax is:
  39.  
  40. use printer "printername"
  41.  
  42. "PrinterName" is the filename of the PrinterSwitch Printer file you wish to use. For example, if you have a printer file named "LaserWriter" and another printer file named "FaxPrint",
  43.  
  44. use printer "LaserWriter"
  45. [do some stuff]
  46. use printer "FaxPrint"
  47. [do some more stuff]
  48.  
  49. Important Note
  50.  
  51. Use Printer 1.2 will not automatically switch LocalTalk on or off. We recommend you use another AppleScript Scripting Addition if you need to switch LocalTalk before switching printers: "AppleTalk Access OSAX" by Michael Gorski.
  52.  
  53. This scripting addition is freeware, included in the PrinterSwitch archive by kind permission of Michael Gorski <mgorski@mindspring.com>. Please refer to the AppleTalk Access documentation for more information.
  54.  
  55.  
  56. Use Printer 1.2 is a free addition to PrinterSwitch 1.2
  57.  
  58. Registered owners of PrinterSwitch are encouraged to use the ╥Use Printer╙ Scripting Extension free of charge. If you are not a registered owner of PrinterSwitch, please visit the Brookline Software home page:
  59.  
  60. http://www.brooklinesw.com/
  61.  
  62. where you can find the latest version of PrinterSwitch, on-line registration information, and more!
  63.  
  64.